package com.xfgg.design.singleton;

/**
 * 静态内部类
 * 常用
 * @author xfgg
 */
public class Inner {
    private static class InnerHolder {
        private static final Inner INNER = new Inner();
    }

    private Inner() {


    }

    public static Inner getInner() {
        return InnerHolder.INNER;
    }
}
